<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html >
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>店铺</title>
<link href="css/boilerplate.css"rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/public/js/jquery.1.72.js"></script>
<script type="text/javascript" src="/public/js/jquery.query.js"></script>
<script type="text/javascript">
			$(function(){
					       var sid=$.query.get('sid');
							// 商铺信息传入参数设置
							ajax_date={
								   action:"getlist",
								   sids:sid,
								   pagesize:1,
								   pageindex:1
							}
							
							$.ajax({
								   url:"/Gplugin/Store.ashx",
								   data:ajax_date,
								   success:function(data){
									  var gldata = eval("(" + data + ")")
										if (gldata.result == "success") {
											var myglHtml = '';
											$.each(gldata.data, function (index, d) {										
												$("#cname").html(d.cname)
												$("#cata").html(d.cata)
												$("#opening").html(d.opening)
												$("#tel").html(d.tel)
												$("#terminal").html(d.terminal)
												$("#floor").html(d.floor)
												$("#location").html(d.location)
												$("#intro").html(d.intro)
												if(d.photo)
												$("#simg").attr('src',d.photo)

											})
										   

										}
									if(data.result == "error"){
											
										alert(data.msg)
										}
 									}
							})

			})
</script>

</head>
<body>

<div id="store-page">
    <div class="store-cnt">
        <div class="store-cnt-box-top">
            <img  id="simg" src="images/store-img.jpg">
        </div>
        <div class="store-cnt-box-title">
            <h3 id="cname">Wang cafe</h3>
        </div>
        <div class="store-cnt-box">
              <p>类别：<span id="cata">购物</span></p>
              <p>营业时间：<span id="opening">24小时</span></p>
              <p>电话：<span id="tel">(65)6241 3893</span></p>
              <p>航站楼：<span id="terminal">2号航站楼</span></p>
              <p>地址：<span id="floor">3</span>层<span id="location">离境转机大厅</span></p>          
        </div>
        <div class="store-cnt-box-info">
            <p id="intro">非常好的店，商品很多。。。位置就在T3航站楼2楼左边第一间，很容易找的
        价格比一般的店便宜3倍，值得一看</p>
        </div>
        <div class="store-cnt-box-ft">
           
        </div>
    </div>
</div>
<br/>
</body>
</html>